<template>
  <div id="basiclayout">
    <a-layout style="min-height: 100vh">
      <!--头部导航栏-->
      <a-layout-header class="header">
        <GlobalHeader> </GlobalHeader>
      </a-layout-header>

      <!--中间内容-->
      <a-layout-content class="content">
<!--        <a-alert banner closable >This is an info alert.</a-alert>-->
        <router-view />
      </a-layout-content>

      <!--底部-->
      <a-layout-footer v-if="!$route.meta.keepAlive" class="footer">校园多功能综合平台 Copyright © 2024 by Team里面有个me</a-layout-footer>
    </a-layout>
  </div>
</template>
<script setup>
import GlobalHeader from "@/components/GlobalHeader.vue";
</script>

<style scoped>


#basiclayout .header {
  margin-bottom: 1px;
  box-shadow: #eee 1px 1px 2px;

}

#basiclayout .content {
 /* margin-bottom: 6px;*/
  padding: 0px;

}

#basiclayout .footer {
  position: sticky;
  background: #efefef;
  padding: 10px;
  bottom: 0;
  left: 0;
  right: 0;
  text-align: center;

}
</style>
